﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using The_Quest.Entities.Abstract;
using The_Quest.Enums;

namespace The_Quest.Entities.Weapons
{
    /*The bow has a very narrow angle of attack, but it’s got a very long 
     * range—it’s got an attack radius of 30, but only causes 1 point 
     * of damage. Unlike the sword, which attacks in three directions 
     * (because the player swings it in a wide arc), when the player shoots 
     * the bow in a direction, it only shoots in that one direction.
     */
    class Bow:Weapon
    {
        public override string Name{ get { return "Bow"; } }
        
        
        public Bow(Game game, Point location) : base(game, location)
        {
            
        }
        
        public override void Attack(Direction direction, Random random)
        {
            // Your code goes here
            DamageEnemy(direction, 30, 1, random);
        }
    }
}
